package com.gxa.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.common.commons.JsonResult;
import com.gxa.common.commons.R;
import com.gxa.order.pojo.Consult;
import org.springframework.web.multipart.MultipartFile;


import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Array;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ConsultService extends IService<Consult> {

    Map findConsultList(Integer currentPage, Integer pageSize);

    R addConsult(Consult consult);

    JsonResult findCommunicateList(Long currentPage, Long pageSize, Integer status);


    JsonResult findCentreList(Long currentPage, Long pageSize, Integer status);

    JsonResult findThreadList(Long currentPage, Long pageSize, Integer status);

    Map updateClaimByStatus(Consult consult);

    JsonResult queryConsult(Integer currentPage,Integer pageSize,String condition);

    JsonResult queryConsultf(Integer currentPage, Integer pageSize, Integer typeOfService);

    R updateContent(Consult consult);

    R updateCounselors(HashMap map);

    R addAppContent(Consult consult);

    R updateStatusByClaim(Consult consult);

    JsonResult findConsultById(Integer consult_id);

    JsonResult findConsultByUserId(Integer appUserId);


}
